<template>
    <div>
        <van-list
            :finished="finished"
            finished-text="没有更多了"
        >
            <van-cell @click="searchListClick(item)" v-for="(item,index) in searchTips" :key="index" :title="item" />
        </van-list>
    </div>
</template>

<script>
export default {
    data () {
        return {
            finished: true,
        }
    },
    props:["searchTips"],
    methods:{
        searchListClick(val){
            this.$emit("searchListClick", val)
        }
    },
}
</script>

<style lang = "less" scoped>
    
</style>